// 1.澜视云
//var BASEURL = 'https://kq.lsyat.com/';
// var BASEURL = 'http://192.168.0.158:8082/';
var BASEURL = 'http://192.168.0.137:8080/';
var AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx48ed814549dfe8a7&redirect_uri=https://kq.lsyat.com/yundianmao/adm/index.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";

//鉴面
// var BASEURL = 'https://kq.focus-face.com/';
// var AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxee30b5c1bc03ca3c&redirect_uri=https://kq.focus-face.com/yundianmao/adm/index.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";

//2.华安
// var BASEURL = 'https://huaan.lsyat.com/';
// var AUTHORIZE = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx3a5f890fb8848b98&redirect_uri=https://huaan.lsyat.com/yundianmao/adm/index.html&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect";

/**
 * img使用的版本
 */
var IMG_VERSION = "oss";

var OSS = "oss"
var LOCAL = "local"



//request url
var GET_PHONE_CODE = 'attrecordController.do?Verificationscode'; //获取短信验证码
var GET_OPENID = 'attrecordController.do?Wxregistergo' //获取微信openId
var REGISTER = 'attrecordController.do?attregister' //用户注册（管理员）
var CHECK_PHONE = 'attrecordController.do?checkuserid' //检查手机号是否被注册
var ADD_DEVICE = 'attrecordController.do?AddfaceDevice' //添加设备
var USER_LOGIN = 'attrecordController.do?checkuser' //用户登陆 （管理员）
var GET_QRCODE = 'attrecordController.do?GetQRcodeconfig' //生成二维码
var GET_CONFIG = 'attrecordController.do?getConfig' //获取微信jssdk验证信息
var GET_DEVICE_LIST = 'attrecordController.do?Getfacedevice' //获取设备列表
var GET_ATTENDANCE_CHARTS_DAY = 'attrecordController.do?attrecordlistnum' //查询天考勤统计结果
var GET_DEPARTMENT_LIST = 'attrecordController.do?listAll' //获取部门列表
var CHECK_PERSON_IN_IMG = 'attrecordController.do?checkface2' //检测图片中是否有人脸
var ADD_EMPLOYEE = 'attrecordController.do?addface' //注册员工(人脸)
var GET_EMPLOYEE_LIST = 'attrecordController.do?FaceWhitelist' //获取员工列表
var DELETE_EMPLOYEE_BY_ID = 'attrecordController.do?delface' //删除员工
var GET_DEPART_ATTENDANCE = 'attrecordController.do?attrecorddepart' //获取部门考勤统计
var GET_MONTHY_STATISTICS = 'attrecordController.do?Attsums' //获取月考勤
var GET_MONTHY_STATISTICS_PERSON = 'attrecordController.do?Attsumemp' //获取月考勤的分类人员
var GET_MONTHY_STATISTICS_PERSON_DETAIL = 'attrecordController.do?Attsumsdetails' //获取此人的月考勤统计
var GET_EMPLOYEE_LIST_PAGE = 'attrecordController.do?FaceWhitelistpage' //获取员工列表,分页
var REMOTE_OPEN_DOOR = 'attrecordController.do?Openthegate' //远程开门
var OPEN_DOOR_RECORD = 'attrecordController.do?openrecordpage' //开门记录
var GET_VICTOR_QRCODE = 'attrecordController.do?GetQRcode' //获取访客二维码
var GET_ATTENDANCE_DATA_DAY = 'attrecordController.do?attrecordlistpages' //获取当天的考勤数据
var GET_ATTENDANCE_RECORD = 'attrecordController.do?attrecordemppage' //获取考勤记录
var GET_DEPARTMENT_STATITICS = 'attrecordController.do?facedepart' //统计部门人数
var GET_ATTENDANCE_GROUP = 'attrecordController.do?attshiftsquery' //获取考勤组列表
var GET_DEPART_TREE = 'attrecordController.do?getdepartuserid' //获取部门树结构
var GET_SHIFTS_LIST = 'attrecordController.do?Shiftssetquery' //获取班次列表
var ADD_SHIFTS = 'attrecordController.do?Shiftssetadd' //添加班次
var DELETE_SHIFTS = 'attrecordController.do?Shiftssetdel' //删除班次
var REMOVE_ATTENDANCE_PERSON = 'attrecordController.do?delattperid' //移除考勤组中的人
var ADD_ATTENDANCT_GROUP = 'attrecordController.do?attshiftadd' //添加考勤组
var DELETE_ATTENDANCE_GROUP = 'attrecordController.do?delattshits' //删除考勤组
var REST_PASSWORD = 'attrecordController.do?restpwd' //重置密码
var GET_ORIGINAL_RECORD = 'attrecordController.do?facecapture' //获取原始记录
var ADD_DEPARTMENT = 'attrecordController.do?addwxDepart' //添加部门
var DELETE_DEPARTMENT = 'attrecordController.do?delwxDepart' //删除部门
var DELETE_DEVICE = 'attrecordController.do?DelfaceDevice' //删除设备

var visitorRegister='attrecordController.do?visitorRegister'//自助登记二维码
module.exports = {
	BASEURL,
	AUTHORIZE,
	GET_PHONE_CODE,
	GET_OPENID,
	REGISTER,
	CHECK_PHONE,
	ADD_DEVICE,
	USER_LOGIN,
	GET_QRCODE,
	GET_CONFIG,
	GET_DEVICE_LIST,
	GET_ATTENDANCE_CHARTS_DAY,
	GET_DEPARTMENT_LIST,
	CHECK_PERSON_IN_IMG,
	ADD_EMPLOYEE,
	GET_EMPLOYEE_LIST,
	DELETE_EMPLOYEE_BY_ID,
	GET_DEPART_ATTENDANCE,
	GET_MONTHY_STATISTICS,
	GET_MONTHY_STATISTICS_PERSON,
	GET_MONTHY_STATISTICS_PERSON_DETAIL,
	GET_EMPLOYEE_LIST_PAGE,
	REMOTE_OPEN_DOOR,
	OPEN_DOOR_RECORD,
	GET_VICTOR_QRCODE,
	GET_ATTENDANCE_DATA_DAY,
	GET_ATTENDANCE_RECORD,
	GET_DEPARTMENT_STATITICS,
	GET_ATTENDANCE_GROUP,
	GET_DEPART_TREE,
	GET_SHIFTS_LIST,
	ADD_SHIFTS,
	DELETE_SHIFTS,
	REMOVE_ATTENDANCE_PERSON,
	ADD_ATTENDANCT_GROUP,
	DELETE_ATTENDANCE_GROUP,
	REST_PASSWORD,
	GET_ORIGINAL_RECORD,
	ADD_DEPARTMENT,
	DELETE_DEPARTMENT,
	DELETE_DEVICE,
	IMG_VERSION,
	OSS,
	LOCAL,
	visitorRegister
}
